/**
 * @Author : woon
 * @Timestamp : 2016-12-02
 */
var do_Page = sm("do_Page");

var rootView = ui("$");
rootView.setMapping({
	"lableTag.tag" : "code",
	"lableTag.text" : "name"
});

var lableTag = ui("lableTag");
ui("alayoutRoot").on("touch", function(data, e) {
	if(lableTag.fontColor=="ff5305FF"){
		lableTag.fontColor = "949EAAFF";//不选中
		do_Page.fire("fire_select_tag", {code:lableTag.tag,isSelected:"0"});
	}else{
		lableTag.fontColor = "ff5305FF";//选中
		do_Page.fire("fire_select_tag", {code:lableTag.tag,isSelected:"1"});
	}
});